<!--
 * @Description: 用于页面重定向重载
 *  
 * @Date: 2021-07-09 14:05:18
-->
<script>
export default {
  data () {
    return {}
  },
  created () {
    let {path, query} = this.$route.query
    if (!path || !query) {
      return
    }

    query = JSON.parse(query)
    delete query.refresh
    this.$router.replace({query: query,path: decodeURIComponent(path)})
  }
}
</script>

